package com.woniuxy.hrp.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 医生实体类
 */
@Getter
@Setter
@ToString
@JsonIgnoreProperties(value = { "handler" })
@TableName("hrp_doctor")
public class Doctor {
    private Integer id;
    private String name;
    @TableField(exist = false)
    private Position position; //医生职位表
    private String description; //医生介绍
    @TableField(exist = false)
    private Department department; //医生科室表
    private String status;
    private String account;
    private String password;
    @TableField(exist = false)
    private List<DoctorAndTime> doctorAndTimes;
    @TableField(exist = false)
    private List<ArrangeTime> arrangeTimes;
    @TableField(exist = false)
    private List<Reservation> reservations; //预约表
    @TableField(exist = false)
    private List<Perm> perms;
}
